package com.java.tutorials.jdk7.fileattribute;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * Created by xuzhike on 2016/1/24.
 * http://www.java2s.com/Code/Java/JDK-7/Readattributes.htm
 */
public class ReadattributesTest {
    public static void main(String[] args) throws Exception {
        Path zip = Paths.get("/usr/bin/zip");
        System.out.println(Files.readAttributes(zip, "*"));
    }
}
